]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-theme-node: Make sure that two NULL paint states are not equal
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 7 May 2013 06:51:02 +0000 (02:51 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 7 May 2013 06:51:41 +0000 (02:51 -0400)
The comment clearly intended that for this to be the case, but a typo
prevented this from actually being done. This fixes the focused state
of the search field not working more than once.

https://bugzilla.gnome.org/show_bug.cgi?id=699799

src/st/st-theme-node.c

index 51355a32a3ffa4bab68104b206fa697c2fe7cbd0..e4eddcfb80cd03dd599e3fd4c3235961a4c806f8 100644 (file)
@@ -3821,7 +3821,7 @@ st_theme_node_paint_equal (StThemeNode *node,
 
   /* Make sure NULL != NULL */
   if (node == NULL || other == NULL)
-    return TRUE;
+    return FALSE;
 
   if (node == other)
     return TRUE;